package com.rabbitmq.ChattingRoom.util.common.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 *  给指定队列发送消息实体类
 */
@Data
@Accessors(chain = true)
public class SendMessageToQueueReq implements Serializable {

    /**
     * 队列名称
     */
    @ApiModelProperty(value = "队列名称",required = true)
    private String queueName;

    /**
     * 发送的消息
     */
    @ApiModelProperty(value = "消息不能为空",required = true)
    private HistoryMSGReq message;
}
